/**
 * MP Software.
 */
package service;

import java.util.List;
import java.util.Map;

import models.Payroll;
import controllers.views.DeductionTypeView;
import controllers.views.PaymentTypeView;

/**
 * @author Jeremiah John M. Macariola
 *
 */
public interface PaymentDeductionFacade {

    List<PaymentTypeView> getPaymentTypes(String electronicId);

    List<DeductionTypeView> getDeductionTypes(String electronicId);

    void savePayments(String electronicId, Payroll payroll,
            Map<String, String> paymentDeductionParams);

    void saveDeductions(String electronicId, Payroll payroll,
            Map<String, String> paymentDeductionParams);

    boolean hasValue(String electronicId,
            Map<String, String> paymentDeductionParams);

}
